<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<title>
			公众号设置
		</title>
		<script src="{{__PUBLIC__}}/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="{{__PUBLIC__}}/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="{{__PUBLIC__}}/js/common.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/hdjs/hdjs.css"/>
		<style type="text/css">
			.notice{
				color:#333;
				font-size:12px;
				padding:10px;
			}
		</style>
	</head>
	<body>
		<p class="notice">
			在公众平台的URL地址: http://c50_fuhong.houdunphp.com/weixin/index.php?m=WeixinApi&c=Weixin&a=index&token={{$token}}
			<br />
			token值: {{$token}}
		</p>
		<form id="form">
			<table class="hd-table hd-table-form hd-form">
				<thead>
					<tr>
						<td colspan="2">
							公众号设置
						</td>
					</tr>
				</thead>
				<tbody>
					<tr>
						<th width="100">
							微信号
						</th>
						<td>
							<input type="text" name="wx_name" class="hd-w200">
						</td>
					</tr>
					<tr>
						<th>
							微信名称
						</th>
						<td>
							<input type="text" name="wx_number" class="hd-w200">
						</td>
					</tr>
					<tr>
						<th>
							appid
						</th>
						<td>
							<input type="text" name="appid" class="hd-w200">
						</td>
					</tr>
					<tr>
						<th>
							appsecret
						</th>
						<td>
							<input type="text" name="appsecret" class="hd-w200">
						</td>
					</tr>
					<tr>
						<th>
							公众号类型
						</th>
						<td>
							<label>
								<input type="radio" name="type" value="1" checked="">订阅号</label>
							<label>
								<input type="radio" name="type" value="2">
								服务号</label>
						</td>
					</tr>
					<tr>
						<td></td>
						<td>
							<button type="submit" id="btn" class="hd-btn hd-btn-sm">提交</button>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
		<script type="text/javascript">
			ajaxPost('{{U('config')}}','form','btn');
		</script>
	</body>
</html>